package com.atomy.bigeventsservice.map;

import com.atomy.bigeventsservice.entity.Category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CategoryMapper {
    @Select("select * from categories where user_id=#{id}")
    List<Category> selectById(Integer id);
}
